package com.eastjet.maintenance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eastjet.maintenance.domain.NormalWarehousing;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author 杨博文
 * @description 针对表【normal_warehousing(普通入库)】的数据库操作Service
 * @createDate 2024-11-25 09:23:38
 */
public interface NormalWarehousingService extends IService<NormalWarehousing> {

    /*
     * 插入普通入库
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean InsertNormalWarehousing(Map<String, Object> map);

    /**
     * 删除普通入库
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean DeleteNormalWarehousing(List<NormalWarehousing> normalWarehousings);

    /**
     * 查看所有的入库单
     */
    List<NormalWarehousing> SelectNormalWarehousing(NormalWarehousing normalWarehousing);
}
